package com.docker.drug.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.docker.common.annotation.Excel;
import com.docker.common.core.domain.BaseEntity;

/**
 * 药品盘点中间对象 doctor_drug_inventory_intermediate
 * 
 * @author lin
 * @date 2025-04-15
 */
public class DoctorDrugInventoryIntermediate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String inventoryOrder;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String drugCode;

    /** 当前库存数量 */
    @Excel(name = "当前库存数量")
    private Long currentInventoryQuantity;

    /** 盘点库存量 */
    @Excel(name = "盘点库存量")
    private Long inventoriedQuantity;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

//    药品信息
    public DockerDrug dockerDrug;

    public void setDockerDrug(DockerDrug dockerDrug) {
        this.dockerDrug = dockerDrug;
    }
    public DockerDrug getDockerDrug() {
        return dockerDrug;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setInventoryOrder(String inventoryOrder) 
    {
        this.inventoryOrder = inventoryOrder;
    }

    public String getInventoryOrder() 
    {
        return inventoryOrder;
    }

    public void setDrugCode(String drugCode) 
    {
        this.drugCode = drugCode;
    }

    public String getDrugCode() 
    {
        return drugCode;
    }

    public void setCurrentInventoryQuantity(Long currentInventoryQuantity) 
    {
        this.currentInventoryQuantity = currentInventoryQuantity;
    }

    public Long getCurrentInventoryQuantity() 
    {
        return currentInventoryQuantity;
    }

    public void setInventoriedQuantity(Long inventoriedQuantity) 
    {
        this.inventoriedQuantity = inventoriedQuantity;
    }

    public Long getInventoriedQuantity() 
    {
        return inventoriedQuantity;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryOrder", getInventoryOrder())
            .append("drugCode", getDrugCode())
            .append("currentInventoryQuantity", getCurrentInventoryQuantity())
            .append("inventoriedQuantity", getInventoriedQuantity())
            .append("remarks", getRemarks())
            .toString();
    }
}
